import request from '@/router/axios'
const baseUrl = "/disk/complaint"
export function saveComplaint(obj) {
  return request({
    url: baseUrl+'/save',
    method: 'post',
    data: obj
  })
}

export function updateComplaint(obj) {
  return request({
    url: baseUrl+'/update',
    method: 'post',
    data: obj
  })
}

export function pageComplaint(query) {
  return request({
    url: baseUrl +'/page',
    method: 'get',
    params: query
  })
}
